package com.ysstech.valuation.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 估值估值合计信息表
 * </p>
 *
 * @author lishuangliang
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("val_valuation_total")
public class ValuationTotal extends Model<ValuationTotal> {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private String id;

    @TableField("ACCOUNT_ID")
    private String accountId;

    @TableField("FDATE")
    private LocalDate fdate;

    @TableField("COST")
    private BigDecimal cost;

    @TableField("MARKET_VALUE")
    private BigDecimal marketValue;

    @TableField("TYPE")
    private String type;
    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;
    /**
     * 添加时间
     */
    @TableField("ADD_TIME")
    private LocalDateTime addTime;

    /**
     * 添加用户
     */
    @TableField("ADD_USER")
    private String addUser;

    /**
     * 修改时间
     */
    @TableField("EDIT_TIME")
    private LocalDateTime editTime;

    /**
     * 修改用户
     */
    @TableField("EDIT_USER")
    private String editUser;
    /**
     * 删除原因
     */
    @TableField("DELETE_REASON")
    private String deleteReason;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
